﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>我的事项</title>
<style>
     th{border-bottom:2px solid #ccc;}
     td{border-bottom:1px solid #ccc; text-align:center}
	 h1{text-align:center}
	 tr td:last-child {text-align:left;width:300px;}
	 tr td:last-child a:first-child{margin-left:50px}
</style>
<script>
   
</script>

</head>
<body>
   <h1>事项列表</h1>
   <table align="center" width="60%" cellspacing="0px">
       
       <tbody><tr>
             
              <th>编号</th>
              <th>账号</th>
              <th>余额</th>
			  <th>状态<a href="add">新增记录</a></th>

       </tr>
       <c:forEach var="a" items="${list}" >
        <tr>
            
             <td> ${a.id}</td>
             <td>${a.cardNo}</td>
			 <td>${a.balance}</td>
			 <td>${a.enable?"正常":"冻结"}</td>

       </tr>
       </c:forEach>

   </tbody>
   </table>
     

</body></html>